package com.ymt;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

/**
 * Created by zhanghao on 2017/7/14.
 */
@SpringBootApplication
@ImportResource({"classpath:consumer.xml"})
public class StartProducer {
    public static void main(String[] args) {
        SpringApplication.run(StartProducer.class, args);
    }
}
